package com.kldy8.kldyw.tools;
import android.content.Context;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;


/**
 * Created by BG on 2016/3/18.
 */
public class MyAnimationUtils
{
    static Animation myAnimation;

    public static void startAnimation(Context context,Animation.AnimationListener listenerm,View view,int id)
    {
        Animation myAnimation;
        myAnimation = AnimationUtils.loadAnimation(context, id);
        view.startAnimation(myAnimation);
        myAnimation.setAnimationListener(listenerm);
    }
}
